package com.group01.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import com.group01.annotation.Chinese;
import com.group01.annotation.Color;
import com.group01.annotation.CommodityType;
import com.group01.annotation.ImageAddress;
import lombok.Data;

/**
 * 
 * @TableName es_parameter
 */
@TableName(value ="es_parameter")
@Data
public class Parameter implements Serializable {
    /**
     * 流水id
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 商品颜色
     */
    @Color
    private String color;

    /**
     * 商品版本
     */
    @Chinese
    private String version;

    /**
     * 商品颜色图片地址
     */
    @ImageAddress
    private String curl;

    /**
     * 商品类型
     */
    @CommodityType
    private String type;

    /**
     * 商品id
     */
    @TableField(exist = false)
    private Integer goodsId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}